package com.ruoyi.system.service;

import com.ruoyi.system.domain.Category;

import java.util.List;

public interface CategoryService {

    public int createCategory(Category category);

    public List<Category> getCategoryList(Category category);

    public List<Category> searchCategory(Category category);

    public int deleteCategory(Category category);

    public int updateCategory(Category category);

    public Category getCategory(Integer id);

    public List<Integer> getCategoryIds();

    public List<String> getCategoryName(String categoryName);

    public Integer getCategoryIdByCategoryName(String categoryName);
}
